package com.oa.common.dto;

import java.io.Serializable;
import java.util.Arrays;

/**
 *
 */
public class AppsTypeDto implements Serializable {

    private static final long serialVersionUID = -6000601584354268654L;

    /** 标题 **/
    private String title;

    /** 文件状态 **/
    private int appStatus;

    /** 文件类型 **/
    private int fileType;

    /** 流程类型 **/
    private int flowType;

    /** 发包人的id **/
    private Long issueId;

    /** 监督人 **/
    private Long[] supervisions;

    /** 模版的地址 **/
    private String filePath;

    /** 模版说明 **/
    private String context;

    /** 使用人 **/
    private Long[] users;

    /** 使用部门 **/
    private Long[] departments;

    /** 使用职位 **/
    private Long[] positions;

    private int useType;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getAppStatus() {
        return appStatus;
    }

    public void setAppStatus(int appStatus) {
        this.appStatus = appStatus;
    }

    public int getFileType() {
        return fileType;
    }

    public void setFileType(int fileType) {
        this.fileType = fileType;
    }

    public int getFlowType() {
        return flowType;
    }

    public void setFlowType(int flowType) {
        this.flowType = flowType;
    }

    public Long getIssueId() {
        return issueId;
    }

    public void setIssueId(Long issueId) {
        this.issueId = issueId;
    }

    public Long[] getSupervisions() {
        return supervisions;
    }

    public void setSupervisions(Long[] supervisions) {
        this.supervisions = supervisions;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Long[] getUsers() {
        return users;
    }

    public void setUsers(Long[] users) {
        this.users = users;
    }

    public Long[] getDepartments() {
        return departments;
    }

    public void setDepartments(Long[] departments) {
        this.departments = departments;
    }

    public Long[] getPositions() {
        return positions;
    }

    public void setPositions(Long[] positions) {
        this.positions = positions;
    }

    public int getUseType() {
        return useType;
    }

    public void setUseType(int useType) {
        this.useType = useType;
    }

    @Override
    public String toString() {
        return "AppsTypeDto{" +
                "title='" + title + '\'' +
                ", appStatus=" + appStatus +
                ", fileType=" + fileType +
                ", flowType=" + flowType +
                ", issueId=" + issueId +
                ", supervisions=" + Arrays.toString(supervisions) +
                ", filePath='" + filePath + '\'' +
                ", context='" + context + '\'' +
                ", users=" + Arrays.toString(users) +
                ", departments=" + Arrays.toString(departments) +
                ", positions=" + Arrays.toString(positions) +
                ", useType=" + useType +
                '}';
    }
}
